package lesson8;


import com.example.workshop.Filter;
import org.springframework.stereotype.Component;

@Component
//@Qualifier("CBF")
public class ContentBasedFilter  implements Filter {
    public ContentBasedFilter(){
        super();
        System.out.println("content-based filter constructor called");
    }

    public String[] getRecommendations(String movie){
        return new String[] {"Happy Feet","Ice Age","Shark Tale"};
    }
}